# -*- coding: utf-8 -*-
# @Time : 2022-01-19 11:21
# @Author : Z
# @Function :
import os

from Common.mysql import Mysql
from Common.result_res import Result_res
from Keywords.common import Common
from ddt.ddt_inter import conf

# 恢复数据库数据
# mysql = Mysql()
# mysql.init_mysql()

if __name__ == '__main__':
    os.system('rd /s/q result')
    os.system('rd /s/q reports')
    conf.runInterCase(case_file='./lib/inter/HTTP接口用例.xlsx', res_file='./lib/inter/' + 'resultHTTP接口用例.xlsx')
    # os.system('allure generate result -o reports --clean')
    # res = Result_res()
    # res.result('./lib/inter/' + 'result_bixi.xls', "./lib/inter/test.xls")
